import 'package:flutter/material.dart';

import 'pages/main/main.dart';

void main() => runApp(DouBanApp());

class DouBanApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: '豆瓣',
      theme: ThemeData(
          primarySwatch: Colors.green,
          splashColor: Colors.transparent,
          // 去除点击水波纹效
          highlightColor: Colors.transparent),
      home: MainPage(),
    );
  }
}
